<?php
namespace app\model;
use think\Db;
use app\model\Base as Base;
class Truck extends Base{
	public function setEmpty($code,$arr){
		$where['truckCode'] = $code;
		$rs = Db::name('truck')->where($where)->update($arr);
		return $rs;
	}
}
?>